package com.youzi.tunnel.client.entity;


import io.netty.channel.Channel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


@Data
@EqualsAndHashCode
public class Client implements Serializable {

    private String id;

    private String name;

    private String macAddress;

    private String host;

    private Channel channel;

    public Client() {
    }

    public Client(String id) {
        this.id = id;
    }

    public Client(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public Client(String id, String name, String host) {
        this.id = id;
        this.name = name;
        this.host = host;
    }
}
